package com.pj.wisdomlogistics.mvp.contract;


import com.pj.wisdomlogistics.entity.HomePageInfo;
import com.pj.wisdomlogistics.mvp.frame.base.BasePresenter;
import com.pj.wisdomlogistics.mvp.frame.base.BaseView;

import java.io.File;


public interface WisdomLogisticsContract {
    public interface View extends BaseView {
        public void onSuccess(String signPath);
        public void onError(String errorMsg);
        public void onHomeSuccess(HomePageInfo mInfo);
    }

    public interface Presenter extends BasePresenter {
        public void saveSignPath(
                String userID,
                File sign
        );

        public void home(String userID);
    }
}
